#define _CRT_SECURE_NO_WARNINGS 1
#include"DSList.h"
void TestDSList()
{
	ListNode* plist = ListCreate();
	ListPushBack(plist, 1);
	ListPushBack(plist, 2);
	ListPushBack(plist, 3);
	ListPushBack(plist, 4);
	ListNode* pos = ListFind(plist, 2);
	ListInsert(pos, 6);
	ListPrint(plist);
	ListDestory(plist);

}
int main()
{
	TestDSList();
	return 0;
}